home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / wtjmarch.zip / LIFE.ZIP / MAKEFILE.BC2 < prev    next >
Text File  |  1991-10-23  |  981b  |  58 lines

  1. #BC2 Makefile
  2.  
  3. .AUTODEPEND
  4.  
  5. #        *Translator Definitions*
  6. CC = bccx +CLIFE.CFG
  7. TASM = TASM
  8. TLINK = tlinkx
  9.  
  10. MODEL = l
  11.  
  12.  
  13. #        *Implicit Rules*
  14. .c.obj:
  15.   $(CC) -c -m$(MODEL) {$< }
  16.  
  17. .cpp.obj:
  18.   $(CC) -c -m$(MODEL) {$< }
  19.  
  20. #        *List Macros*
  21.  
  22.  
  23. EXE_dependencies =  \
  24.   clife.obj \
  25.   clife.def \
  26.   clife.res
  27.  
  28. #        *Explicit Rules*
  29. clife.exe: clife.cfg $(EXE_dependencies)
  30.   $(TLINK) /v/x/c/Twe/P-/C/LC:\Borlandc\OWL\LIB;C:\Borlandc\CLASSLIB\LIB;C:\Borlandc\LIB @&&|
  31. c0w$(MODEL).obj+
  32. clife.obj
  33. clife
  34.         # no map file
  35. owlw$(MODEL).lib+
  36. tclassw$(MODEL).lib+
  37. cwin$(MODEL).lib+
  38. import.lib+
  39. math$(MODEL).lib+
  40. c$(MODEL).lib
  41. clife.def
  42. |
  43.   RC clife.exe
  44.  
  45.  
  46. #        *Individual File Dependencies*
  47. clife.obj: clife.cpp 
  48.  
  49. #        *Compiler Configuration File*
  50. clife.cfg: makefile.bc2
  51.   copy &&|
  52. -v
  53. -WS
  54. -H=CLIFE.SYM
  55. -IC:\Borlandc\OWL\INCLUDE;C:\borlandc\CLASSLIB\INCLUDE;C:\borlandc\INCLUDE
  56. -LC:\borlandc\OWL\LIB;C:\borlandc\CLASSLIB\LIB;C:\borlandc\LIB
  57. | clife.cfg
  58.